package com.orphan.marketBack.controller;

import com.orphan.marketBack.po.GoodsOut;
import com.orphan.marketBack.service.GoodsOutService;
import com.orphan.marketBack.vo.ResultVO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

@RestController
public class GoodsOutController {
    @Autowired
    private GoodsOutService goodsOutService;

    @GetMapping("/getGoodsOut")
    public ResultVO getGoodsOut(){
        ResultVO goodsOut = goodsOutService.getGoodsOut();
        return goodsOut;
    }
}
